import request from '@/utils/request'

// 查询焚化处置列表
export function listIncinerateHandle(query) {
    return request({
        url: '/business/incinerateHandle/list',
        method: 'get',
        params: query
    })
}

// 查询焚化处置详细
export function getIncinerateHandle(incinerateHandleId) {
    return request({
        url: '/business/incinerateHandle/' + incinerateHandleId,
        method: 'get'
    })
}

// 新增焚化处置
export function addIncinerateHandle(data) {
    return request({
        url: '/business/incinerateHandle',
        method: 'post',
        data: data
    })
}

// 修改焚化处置
export function updateIncinerateHandle(data) {
    return request({
        url: '/business/incinerateHandle',
        method: 'put',
        data: data
    })
}

// 删除焚化处置
export function delIncinerateHandle(incinerateHandleId) {
    return request({
        url: '/business/incinerateHandle/' + incinerateHandleId,
        method: 'delete'
    })
}

// 导出焚化处置
export function exportIncinerateHandle(query) {
    return request({
        url: '/business/incinerateHandle/export',
        method: 'get',
        params: query
    })
}